<!DOCTYPE html>
<html lang="zh-CN" xmln:th="http://www/thymeleaf.org" xmlns:xmln="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <link href="/css/loginstyle.css" rel="stylesheet" type="text/css">
    <title>首页</title>
    <style>

    </style>
</head>
<body>
    <div id="login">
        <form action = "/gologin" method="post">
            <div class="logform" th:text="#{login.tip}">用户登录</div>
            <div class="loginput"><span th:text="#{login.username}">请输入姓名</span><input id="name"name="name"></div>
            <div class="loginput"><span th:text="#{login.password}">请输入密码 </span><input id="password" name="password" type="password"></div>
            <div class="loginput" ><input type="submit" th:value="#{login.button}">&nbsp<input type="reset" th:value="#{login.cancel}"><a href="register"><span th:text="#{login.register}">注册</span></a></div>
            <div class="loginput"><span th:text="${currentYear}">2019</span>
                -<span th:text="${currentYear} + 1">2020</span>
                <span>软件22401何苏杨</span>
            </div>
            <div class="loginput"><a th:href="@{/login(lang='zh_CN')}">中文</a>
                <a th:href="@{/login(lang='en_US')}">Engilsh</a>
            </div>
        </form>
    </div>
</body>
</html>